package com.egene.tw.data.entity;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

/**
 * Created by wzx on 2018/7/3.
 */

public class FatigueData extends RealmObject{
    @PrimaryKey
    private long time;
    private float value;

    private int step;
    private int kcal;
    private int heart;
    private int oxygen;
    private int bloodHigh;
    private int bloodLow;
    private int deepValue;
    private int shallowValue;

    private String userId;
    private boolean upload;


    public long getTime() {
        return time;
    }

    public FatigueData setTime(long time) {
        this.time = time;
        return this;
    }

    public float getValue() {
        return value;
    }

    public FatigueData setValue(float value) {
        this.value = value;
        return this;
    }

    public int getStep() {
        return step;
    }

    public FatigueData setStep(int step) {
        this.step = step;
        return this;
    }

    public int getKcal() {
        return kcal;
    }

    public FatigueData setKcal(int kcal) {
        this.kcal = kcal;
        return this;
    }

    public int getHeart() {
        return heart;
    }

    public FatigueData setHeart(int heart) {
        this.heart = heart;
        return this;
    }

    public int getOxygen() {
        return oxygen;
    }

    public FatigueData setOxygen(int oxygen) {
        this.oxygen = oxygen;
        return this;
    }

    public int getBloodHigh() {
        return bloodHigh;
    }

    public FatigueData setBloodHigh(int bloodHigh) {
        this.bloodHigh = bloodHigh;
        return this;
    }

    public int getBloodLow() {
        return bloodLow;
    }

    public FatigueData setBloodLow(int bloodLow) {
        this.bloodLow = bloodLow;
        return this;
    }

    public int getDeepValue() {
        return deepValue;
    }

    public FatigueData setDeepValue(int deepValue) {
        this.deepValue = deepValue;
        return this;
    }

    public int getShallowValue() {
        return shallowValue;
    }

    public FatigueData setShallowValue(int shallowValue) {
        this.shallowValue = shallowValue;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public FatigueData setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public boolean isUpload() {
        return upload;
    }

    public FatigueData setUpload(boolean upload) {
        this.upload = upload;
        return this;
    }
}
